package com.nondo.dean.platform.controller.api.admin;

import com.nondo.dean.common.annotation.ApiVersion;
import com.nondo.dean.platform.service.PlatFormUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaofan
 * @Description: 平台用户管理接口
 * @throws
 * @date 2018-05-0213:56
 * @Version 0.1
 */
@RestController("apiAdminPlatFormUser")
@RequestMapping("/{v}/admin/plat/form/user")
public class PlatFormUserController {

    @Autowired
    PlatFormUserService platFormUserService;

    /**
     * 查询平台用户对应的sap账号
     * @return
     */
    @ApiVersion(1)
    @RequestMapping("/search/sap/account")
    public String querySapAccount(){
        return platFormUserService.querySapAccount();
    }
}
